package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 售后表
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Getter
@Setter
  @TableName("t_after_sale")
@ApiModel(value = "AfterSale对象", description = "售后表")
public class AfterSale implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("售后表id")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("用户id")
      private Long tUserId;

      @ApiModelProperty("退款金额")
      private BigDecimal refundAmount;

      @ApiModelProperty("申请时间")
      private Date createTime;

      @ApiModelProperty("处理时间")
      private Date dealTime;

      @ApiModelProperty("处理状态")
      private Integer dealStatus;

      @ApiModelProperty("原因")
      private String reason;

      @ApiModelProperty("退款类型refund_type（0退货，1换货，2退款，3取消订单）")
      private Integer refundType;

      @ApiModelProperty("处理人")
      private String dealUser;

      @ApiModelProperty("订单状态")
      private Integer orderStatus;

      @ApiModelProperty("订单备注")
      private String remarks;


}
